package com.zxy.ziems.server.log.service;

import com.zxy.btp.common.response.PageResult;
import com.zxy.ziems.server.log.DataRecordTypeEnum;
import com.zxy.ziems.server.log.pojo.entity.DataRecordLogEntity;
import com.zxy.ziems.server.log.pojo.param.DataRecordParam;
import com.zxy.ziems.server.log.pojo.vo.DataRecordVO;

import java.util.List;

public interface DataRecordService {

    /**
     * 新增操作记录
     * @param dataRecordTypeEnum
     * @param tag
     * @param operId
     * @param logs
     */
    void add(DataRecordTypeEnum dataRecordTypeEnum, String tag, String operId, List<DataRecordLogEntity> logs);

    PageResult<DataRecordVO> page(DataRecordParam param);
}
